﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YAPL.Language.Core.Types;

namespace YAPL.Language.Core.Lib.GlobalFunctions {
	public class ClassMetaclassName : YAPLFunction {
		public ClassMetaclassName(string ownerName) : base(FunctionNames.ClassMetaclassName, GCL.Get(ownerName)) { }
		public override YAPLObject Call(Scope scope) {
			ParseScope(scope);
			return new YAPLString(_owner.Name);
		}

		public override bool CanPrecompute {
			get {
				return false;
			}
		}
	}
}
